/********************************************************************/
/* Copyright (C) School of Software Engineering of USTC, 2012                                */
/*                                                                                                                       */
/*  FILE NAME: dbapi.h                                                                                          */
/*  PRINCIPAL AUTHOR: SA12226114(Xin Zhu), SA12226139(Dan Shu)                    */
/*  SUBSYSTEM NAME: DB                                                                                    */
/*  MODULE NAME: dbapi                                                                                      */
/*  LANGUAGE: C                                                                                                 */
/*  TARGET ENVIRONMENT: Linux                                                                          */
/*  DATE OF FIRST RELEASE: 2012-11-27                                                             */
/*  DESCRIPTION: Impement of Abstract Interface for Tokyo Cabinet DB API              */
/********************************************************************/


/* external interface declaration */
void* db_new(void);

void db_open(void *db);

void db_write(void *db, char *key, char *value);

void db_read(void *db, char *key);

void db_close(void *db);

void db_delete(void *db);



